﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Shine.Util
{
    /// <summary>
    /// 数据常量
    /// </summary>
    public class DataContants
    {
        /// <summary>
        /// 民族集合
        /// </summary>
        private static Dictionary<string, string> _NationContants = null;
        /// <summary>
        /// 民族集合
        /// </summary>
        public static Dictionary<string, string> NationContants
        {
            get
            {
                if (_NationContants == null)
                {
                    _NationContants = new Dictionary<string, string>();
                    _NationContants.Add("01", "汉");
                    _NationContants.Add("02", "蒙古");
                    _NationContants.Add("03", "回");
                    _NationContants.Add("04", "藏");
                    _NationContants.Add("05", "维吾尔");

                    _NationContants.Add("06", "苗");
                    _NationContants.Add("07", "彝");
                    _NationContants.Add("08", "壮");
                    _NationContants.Add("09", "布衣");
                    _NationContants.Add("10", "朝鲜");

                    _NationContants.Add("11", "满");
                    _NationContants.Add("12", "侗");
                    _NationContants.Add("13", "瑶");
                    _NationContants.Add("14", "白");
                    _NationContants.Add("15", "土家");

                    _NationContants.Add("16", "哈尼");
                    _NationContants.Add("17", "哈萨克");
                    _NationContants.Add("18", "傣");
                    _NationContants.Add("19", "黎");
                    _NationContants.Add("20", "傈僳");

                    _NationContants.Add("21", "佤");
                    _NationContants.Add("22", "畲");
                    _NationContants.Add("23", "高山");
                    _NationContants.Add("24", "拉祜");
                    _NationContants.Add("25", "水");

                    _NationContants.Add("26", "东乡");
                    _NationContants.Add("27", "纳西");
                    _NationContants.Add("28", "景颇");
                    _NationContants.Add("29", "柯尔克孜");
                    _NationContants.Add("30", "土");

                    _NationContants.Add("31", "达斡尔");
                    _NationContants.Add("32", "仫佬");
                    _NationContants.Add("33", "羌");
                    _NationContants.Add("34", "布朗");
                    _NationContants.Add("35", "撒拉");

                    _NationContants.Add("36", "毛难");
                    _NationContants.Add("37", "仡佬");
                    _NationContants.Add("38", "锡伯");
                    _NationContants.Add("39", "阿昌");
                    _NationContants.Add("40", "普米");

                    _NationContants.Add("41", "塔吉克");
                    _NationContants.Add("42", "怒");
                    _NationContants.Add("43", "乌孜别克");
                    _NationContants.Add("44", "俄罗斯");
                    _NationContants.Add("45", "鄂温克");

                    _NationContants.Add("46", "崩龙");
                    _NationContants.Add("47", "保安");
                    _NationContants.Add("48", "裕固");
                    _NationContants.Add("49", "京");
                    _NationContants.Add("50", "塔塔尔");

                    _NationContants.Add("51", "独龙");
                    _NationContants.Add("52", "鄂伦春");
                    _NationContants.Add("53", "赫哲");
                    _NationContants.Add("54", "门巴");
                    _NationContants.Add("55", "珞巴");

                    _NationContants.Add("56", "基诺");
                }
                return _NationContants;
            }
        }

        /// <summary>
        /// 地区集合
        /// </summary>
        private static Dictionary<string, string> _AreaContants = null;
        /// <summary>
        /// 地区集合
        /// </summary>
        public static Dictionary<string, string> AreaContants
        {
            get
            {
                if (_AreaContants == null)
                {
                    _AreaContants = new Dictionary<string, string>();
                    _AreaContants.Add("11", "北京");
                    _AreaContants.Add("12", "天津");
                    _AreaContants.Add("13", "河北");
                    _AreaContants.Add("14", "山西");
                    _AreaContants.Add("15", "内蒙古");

                    _AreaContants.Add("21", "辽宁");
                    _AreaContants.Add("22", "吉林");
                    _AreaContants.Add("23", "黑龙江");
                    _AreaContants.Add("31", "上海");
                    _AreaContants.Add("32", "江苏");
                    _AreaContants.Add("33", "浙江");
                    _AreaContants.Add("34", "安徽");
                    _AreaContants.Add("35", "福建");
                    _AreaContants.Add("36", "江西");
                    _AreaContants.Add("37", "山东");
                    _AreaContants.Add("41", "河南");
                    _AreaContants.Add("42", "湖北");
                    _AreaContants.Add("43", "湖南");
                    _AreaContants.Add("44", "广东");
                    _AreaContants.Add("45", "广西");
                    _AreaContants.Add("46", "海南");

                    _AreaContants.Add("50", "重庆");
                    _AreaContants.Add("51", "四川");
                    _AreaContants.Add("52", "贵州");
                    _AreaContants.Add("53", "云南");
                    _AreaContants.Add("54", "西藏");

                    _AreaContants.Add("61", "陕西");
                    _AreaContants.Add("62", "甘肃");
                    _AreaContants.Add("63", "青海");
                    _AreaContants.Add("64", "宁夏");
                    _AreaContants.Add("65", "新疆");

                    _AreaContants.Add("71", "台湾");
                    _AreaContants.Add("81", "香港");
                    _AreaContants.Add("82", "澳门");
                    _AreaContants.Add("91", "国外");
                }
                return _AreaContants;
            }
        }
        
    }
}
